<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/base.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>考勤管理系统 管理员后台</title>
    <link rel="shortcut icon" href="favicon.ico"/>
	<link rel="bookmark" href="favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>/easyui/css/default.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath%>/easyui/themes/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="<%=basePath%>/easyui/themes/icon.css" />
    <script type="text/javascript" src="<%=basePath%>/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript" src='<%=basePath%>/easyui/js/outlook2.js'> </script>
    <script type="text/javascript">
	 	var _menus = {"menus":[
				<c:if test="${utype == 1}">
				<%-- {"menuid":"1","icon":"","menuname":"用户（管理员）管理",
					"menus":[
							{"menuid":"11","menuname":"用户列表","icon":"icon-user-teacher","url":"<%=basePath%>/teacher_list"}
						]
				}, --%>
				{"menuid":"3","icon":"icon-world","menuname":"二级学院管理",
					"menus":[
							{"menuid":"31","menuname":"二级学院列表","icon":"icon-world","url":"<%=basePath%>/College_index.action"},
						]
				},
				{"menuid":"2","icon":"icon-house","menuname":"班级信息管理",
					"menus":[
							{"menuid":"36","menuname":"班级列表","icon":"icon-house","url":"<%=basePath%>/Class_index.action"},
						]
				},
				{"menuid":"5","icon":"icon-user-teacher","menuname":"教师信息管理",
					"menus":[
							{"menuid":"21","menuname":"教师列表","icon":"icon-user-teacher","url":"<%=basePath%>/Teacher_index.action"},
						]
				},
				{"menuid":"6","icon":"icon-book-add","menuname":"课程信息管理",
					"menus":[
							{"menuid":"21","menuname":"课程列表","icon":"icon-user-student","url":"<%=basePath%>/Course_index.action"},
						]
				},
				</c:if>
				<c:if test="${utype == 3 || utype == 1}">
				{"menuid":"4","icon":"icon-vcard-edit","menuname":"考勤信息管理",
					"menus":[
							{"menuid":"41","menuname":"课堂考勤","icon":"icon-vcard-edit","url":"<%=basePath%>/Attendance_index.action"},
							{"menuid":"41","menuname":"考勤结果","icon":"icon-vcard-edit","url":"<%=basePath%>/Attendance_record.action"},
							{"menuid":"48","menuname":"考勤统计","icon":"icon-chart_bar","url":"<%=basePath%>/Record_toRecord.action"},
						]
				},
				{"menuid":"5","icon":"icon-user-student","menuname":"学生信息管理",
					"menus":[
							{"menuid":"21","menuname":"学生列表","icon":"icon-user-student","url":"<%=basePath%>/Student_index.action"},
						]
				},
				</c:if>
				<c:if test="${utype == 2}">
				{"menuid":"6","icon":"icon-book-add","menuname":"课程信息管理",
					"menus":[
							{"menuid":"21","menuname":"课程列表","icon":"icon-user-student","url":"<%=basePath%>/Course_index.action"},
						]
				},
				</c:if>
				
		]};


    </script>

</head>
<body class="easyui-layout" style="overflow-y: hidden"  scroll="no">
	<!-- <noscript>
		<div style=" position:absolute; z-index:100000; height:2046px;top:0px;left:0px; width:100%; background:white; text-align:center;">
		    <img src="images/noscript.gif" alt='抱歉，请开启脚本支持！' />
		</div>
	</noscript> -->
    <div region="north" split="true" border="false" style="overflow: hidden; height: 30px; background:#7f99be;line-height: 20px;color: #fff; font-family: Verdana,微软雅黑,黑体">
        <span style="float:right; padding-right:20px;" class="head"><span style="color:red; font-weight:bold;">${user.userName}&nbsp;</span>您好&nbsp;&nbsp;&nbsp;<a href="<%=basePath%>/system/sys_out.action" id="loginOut" class="easyui-linkbutton" data-options="iconCls:'icon-logout',plain:true">安全退出</a></span>
        <span style="padding-left:10px; font-size: 16px; ">考勤管理系统</span>
    </div>
    <div region="south" split="true" style="height: 30px; background: #D2E0F2; ">
        <div class="footer">Copyright &copy; GXWZ By tale</div>
    </div>
    <div region="west" hide="true" split="true" title="导航菜单" style="width:180px;" id="west">
	<div id="nav" class="easyui-accordion" fit="true" border="false">
		<!--  导航内容 -->
	</div>
	
    </div>
    <div id="mainPanle" region="center" style="background: #eee; overflow-y:hidden">
        <div id="tabs" class="easyui-tabs"  fit="true" border="false" >
			<jsp:include page="welcome.jsp" />
		</div>
    </div>
	
</body>
</html>